package com.agileboot.domain.banner.db;



import com.agileboot.common.core.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 首页banner表(HomeBanner)表实体类
 *
 * @author lx
 * @since 2023-12-08
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_home_banner")
@ApiModel(value = "HomeBanner对象", description = "首页轮播")
public class HomeBanner extends BaseEntity {
    /**
     * 轮播id
     */
    @ApiModelProperty("轮播id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    //轮播图名
    /**
     * 轮播名称
     */
    @ApiModelProperty("轮播名称")
    private String name;
    //图片链接
    /**
     * 路径url
     */
    @ApiModelProperty("路径url")
    private String imgUrl;
    //状态
    /**
     * 状态
     */
    @ApiModelProperty("状态,0启用 1禁用")
    private Integer status;
    //描述
    /**
     * 描述
     */
    @ApiModelProperty("描述")
    private String remarks;


}
